package com.qinglian.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author augn
 * @since 2023-04-29
 */
@Data
@TableName("likes")
@ApiModel(value = "Like对象", description = "")
public class Like implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("点赞编号")
    private Integer id;

    @ApiModelProperty("帖子编号")
    private Integer findId;

    @ApiModelProperty("用户编号")
    private Integer userId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
